package com.qf.miaosha_service;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import tk.mybatis.spring.annotation.MapperScan;

@EnableTransactionManagement // 配置的 事务注解的开发
@EnableEurekaClient
@MapperScan("com.qf.miaosha_service.dao")
@SpringBootApplication
public class MiaoshaServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(MiaoshaServiceApplication.class, args);
    }
}
